package com.example.gezihua.myapplication.pull;

import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.widget.LinearLayout;

/**
 * Created by gezihua on 16-12-22.
 */

public class Header extends LinearLayout implements IHeaderView{

    public Header(Context context) {
        super(context);
    }

    public Header(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public Header(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    @Override
    public boolean canRefresh() {
        return true;
    }

    @Override
    public void showRefresh() {
        Log.e("suj","show refresh ...................");
    }

    @Override
    public int getRefreshTime() {
        return 0;
    }

    @Override
    public boolean cancelRefresh() {
        return false;
    }
}
